package com.yml.logistical.api;

import com.yml.logistical.domain.Logistical;
import com.yml.logistical.domain.LogisticalResult;
import com.yml.logistical.domain.Shop;
import com.yml.month.response.QueryResponseResult;
import com.yml.month.response.ResponseResult;

import java.util.List;

public interface LogisticalControllerApi {
    QueryResponseResult list(Integer page, Integer size, LogisticalResult logisticalResult);

    ResponseResult add(Logistical logistical);

    ResponseResult del(Integer id);

    Logistical getById(Integer id);

    QueryResponseResult listShop();

    ResponseResult addShop(Shop shop);

    ResponseResult delShop(Integer sid);

    Shop ShopById(Integer sid);

    ResponseResult updateShop(Shop shop,Integer sid);

}
